<template>
  <div id='app'>
    <button @click="out">点击打开</button>
    

  </div>
</template>

<script>
export default {
  data () {
    return {
      list: []
    }
  },
  methods: {
    out(){
      let modal=this.$Modal({
        title:'提示删除吗',
        content:'删除？',
        cancel:()=>{
          modal.show=false
        modal.CancelDeletion=true
        setTimeout(function(){
          modal.qx()
        },1000)

        },
        sure:()=>{
          modal.show=false
          modal.SureToDelete=true
          setTimeout(function(){
               modal.qd()
          },1000)
        }
      })

    }

  },
  mounted() {

  },
  components: {
      

  }
}
</script>

<style lang='scss'>

</style>
